package com.bootdo.lvyou_specialty.service;

import com.bootdo.lvyou.domain.LvyouMember;
import com.bootdo.lvyou_specialty.domain.LvyouSpecialtyOrderAll;

import java.util.List;
import java.util.Map;
import com.bootdo.lvyou_specialty.dao.LvyouSpecialtyOrderAllDao;
import com.bootdo.lvyou_specialty.domain.LvyouSpecialtyUserAddress;
import com.front.web.lvyou_specialty_front.pagevo.GoodsOrderVo;

/**
 * 
 * 
 * @author haojiangbo
 * @email 2100272728@qq.com
 * @date 2019-10-14 09:58:28
 */
public interface LvyouSpecialtyOrderAllService extends LvyouSpecialtyOrderAllDao{
/**
	LvyouSpecialtyOrderAll get(Long id);
	
	List<LvyouSpecialtyOrderAll> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(LvyouSpecialtyOrderAll lvyouSpecialtyOrderAll);
	
	int update(LvyouSpecialtyOrderAll lvyouSpecialtyOrderAll);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids); */

	GoodsOrderVo createOrder(Map<String, Object> redisMap,
							 String[] goodsIds,
							 LvyouMember lvyouMember,
							 LvyouSpecialtyUserAddress lvyouSpecialtyUserAddress,
							 boolean isMember,
							 boolean toBuyAtOnce) throws NoSuchMethodError;

	int cancelOrder(LvyouSpecialtyOrderAll orderAll, String merchantOrder);

	int wxBackSstatus(LvyouSpecialtyOrderAll orderAll);

	int defferBack(LvyouSpecialtyOrderAll orderAll) throws NoSuchMethodError;

	int createTuikuanOrder(String merchantOrder);
}
